﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.M.Inventory.Domain.Entity
{
    /// <summary>
    /// 盘点库存表
    /// </summary>
    [SugarTable("examine_warehouse")]
    public class examine_warehouse
    {
        /// <summary>
        /// 盘点库存id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "盘点库存表id")]
        public string checkinventory_id { get; set; }

        /// <summary>
        /// 盘点编号
        /// </summary>
        [SugarColumn(ColumnDescription = "盘点编号", Length = 50)]
        public string? checkinventory_code { get; set; }

        /// <summary>
        /// 盘点日期
        /// </summary>
        [SugarColumn(ColumnDescription = "盘点日期")]
        public DateTime checkinventory_datetime { get; set; }

        /// <summary>
        /// 盘点主题
        /// </summary>
        [SugarColumn(ColumnDescription = "盘点主题", Length = 500)]
        public string? checkinventory_subject { get; set; }

        /// <summary>
        /// 仓库外键
        /// </summary>
        [SugarColumn(ColumnDescription = "仓库外键")]
        public string checkinventory_warehouseid { get; set; }

        /// <summary>
        /// 盘点人员
        /// </summary>
        [SugarColumn(ColumnDescription = "盘点人员", Length = 20)]
        public string? checkinventory_personnel { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(ColumnDescription = "状态")]
        public bool checkinventory_state { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", Length = 500)]
        public string? checkinventory_remarks { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnDescription = "附件", Length = 10000)]
        public string? checkinventory_accessory { get; set; }

    }
}
